package com.siyoumi.app.modules.sms.vo;

import com.siyoumi.validator.annotation.HasAnyText;
import com.siyoumi.validator.annotation.IsJson;
import lombok.Data;

import javax.validation.constraints.Size;

//短信
@Data
public class VaSms {
    private String sms_acc_id;
    private String sms_api_type;

    @HasAnyText
    @Size(max = 50)
    private String sms_name;
    @HasAnyText
    @Size(max = 50)
    private String sms_sign_name;
    @HasAnyText
    @Size(max = 50)
    private String sms_template_code;
    @HasAnyText
    @Size(max = 200)
    @IsJson
    private String sms_template_json;

    Integer set_left = 0; //设置库存
    Long left_count; //库存
    Long left_count_old; //库存
}
